package com.distribution.business.web.controller;

import com.distribution.common.util.annotation.RepeatSubmit;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Date;

@RestController
public class TestController {

    @RepeatSubmit
    @GetMapping(value="test")
    public String test(){
        return "Hello world " + new Date();
    }
}
